<template>
  <div id="app">
    <transition name="slide-left" mode="out-in">
      <keep-alive :exclude="['loginIndex','forgetIndex','registerIndex','editPwd','lNotify','statisticsIndex','usereditIndex','searchDiary','homeDiary']">
        <router-view></router-view>
      </keep-alive>
    </transition>
  </div>
</template>

<script>
export default {}
</script>

<style lang="less">
* {
  margin: 0;
  padding: 0;
}
// .screen-container{
//   width: 100%;
//   height: 100%;
//   position: relative;
// }
.slide-left-enter {
  opacity: 0;
  // visibility: hidden;
  transform: translateX(30px);
}
.slide-left-enter-active,
.slide-left-leave-active {
  transition: all 0.12s ease;
  // position: absolute;
}
.slide-left-leave-to {
  display: none;
  opacity: 0;
  transform: translateX(-30px);
}

</style>
